/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.tarifador.dao;

import br.com.tarifador.model.Usuario;
import java.util.List;

/**
 *
 * @author charles
 */
public interface impleTarifa <T> {

    public boolean update(T objeto);

    public boolean save(T objeto);

    public T findbyString(String param, String campoNome);

    public T findByNumeric(String campoId, Long id);

    public Long countAllObject();

    public List<T> listAllBetweenDate(String dataInicio, String datafinal, String campoData);

    public List<T> listall();

    public List<T> listallparam(String campo,String param);
            
    public boolean delete(T objeto);

    public boolean saveUsuario(Usuario user);

    public List<Usuario> findAllUser();

    public Usuario findUserDBciptografado(String nome);
}
